package com.wlps.vo.sendcenter.warehouse;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wlps.entity.Warehouse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author ZWYZY
 * @since 2020/8/10
 */
@ApiModel(value = "商品库房储备设置Vo")
@Data
public class WarehouseSettingVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品id")
    private Long commodityId;
    @ApiModelProperty(value = "商品名称")
    private String productName;

    @ApiModelProperty(value = "是否设置过库房，1为设置（显示绿色），0为未设置（显示红色）")
    private Boolean isSetting;

    @ApiModelProperty(value = "如果设置过,有库房商品的信息;如果没设置过，为null")
    private Warehouse warehouse;
}
